package business;


public class Defi {
	/* ------------------------------------------------------------- ATTRIBUT */
	private int id_defi = 0;
	private int fk_id_demandeur = 0;
	private int fk_id_cible = 0;
	private int fk_id_pariDemandeur = 0;
	private int fk_id_pariCible = 0;
	private int fk_id_pariHistoriqueDemandeur = 0;
	private int fk_id_pariHistoriqueCible = 0;
	private int etat = 0;


	/* --------------------------------------------------------- CONSTRUCTEUR */
	public Defi() { super(); }

	public Defi(
			int 		id_defi,
			int 		fk_id_demandeur,
			int 		fk_id_cible,
			int 		fk_id_pariDemandeur,
			int 		fk_id_pariCible,
			int 		fk_id_pariHistoriqueDemandeur,
			int 		fk_id_pariHistoriqueCible,
			int 		etat
	) {
		super();
		this.id_defi = id_defi;
		this.fk_id_demandeur = fk_id_demandeur;
		this.fk_id_cible = fk_id_cible;
		this.fk_id_pariDemandeur = fk_id_pariDemandeur;
		this.fk_id_pariCible = fk_id_pariCible;
		this.fk_id_pariHistoriqueDemandeur = fk_id_pariHistoriqueDemandeur;
		this.fk_id_pariHistoriqueCible = fk_id_pariHistoriqueCible;
		this.etat = etat;
	}


	/* -------------------------------------------------------------- METHODE */
	public int getId_defi() { return id_defi; }

	public int getFk_id_demandeur() { return fk_id_demandeur; }

	public int getFk_id_cible() { return fk_id_cible; }

	public int getFk_id_pariDemandeur() { return fk_id_pariDemandeur; }

	public int getFk_id_pariCible() { return fk_id_pariCible; }

	public int getFk_id_pariHistoriqueDemandeur() { return fk_id_pariHistoriqueDemandeur; }

	public int getFk_id_pariHistoriqueCible() { return fk_id_pariHistoriqueCible; }

	public int getEtat() { return etat; }
}
